Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 4 - Call Appearances / Call Appearance Reference
Call Appearance Functions / Getting Information About Call Appearances


TELCountCAs

Counts the non-idle call appearances currently associated with a directory number.

pascal short TELCountCAs (
                     TELDNHandle hTELDN, 
                     short internalExternal);
hTELDN
A handle to a directory number structure for the number whose call appearances you want to count.
internalExternal
A constant that specifies where a call appearance originates relative to the local switch or closed user group. The function counts only call appearances that meet the specification you provide here. You can use one of the constants described in "Call Origination Types" (page 4-13).
function result
The number of call appearances that fit the specification in the internalExternal parameter.
DESCRIPTION
The TELCountCAs function counts non-idle call appearances--those whose state is not telCAIdleState--for a given directory number. Typically, you call TELCountCAs at application start-up, in order to learn if any call appearances already exist.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help